<!DOCTYPE html>
<html>
<meta charset="utf-8">
<head th:include="include :: header"></head>
<body class="gray-bg">
<div class="wrapper wrapper-content ">
    <div class="row">
        <div class="col-sm-12">
            <div class="ibox float-e-margins">
                <div class="ibox-content">
                    <form class="form-horizontal m-t" id="signupForm">
                        <input id="id" name="id" th:value="${travel.id}" type="hidden">
                        <div class="form-group">
                            <label class="col-sm-3 control-label">出差人：</label>
                            <div class="col-sm-8">
                                <input id="travelUserid" name="travelUserid" th:value="${travel.travelUserid}"
                                       class="form-control" type="hidden">
                                <input id="travelName" name="travelName" th:value="${travel.travelName}"
                                       class="form-control" type="text" readonly>
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">出差开始时间：</label>
                            <div class="col-sm-8">
                                <input type="text" class="laydate-icon layer-date form-control"
                                       id="travelStarttime" name="travelStarttime" placeholder="出差开始时间"
                                       th:value="${#dates.format(travel.travelStarttime, 'yyyy-MM-dd')}"
                                       onclick="laydate({istime: true, format: 'YYYY-MM-DD'})" style="background-color: #fff;" readonly="readonly"/>
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">出差结束时间：</label>
                            <div class="col-sm-8">
                                <input type="text" class="laydate-icon layer-date form-control"
                                       id="travelEndtime" name="travelEndtime" placeholder="出差结束时间"
                                       th:value="${#dates.format(travel.travelEndtime, 'yyyy-MM-dd')}"
                                       onclick="laydate({istime: true, format: 'YYYY-MM-DD'})" style="background-color: #fff;" readonly="readonly"/>
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">目的地：</label>
                            <div class="col-sm-8">
                                <input id="travelDestination" name="travelDestination"
                                       th:value="${travel.travelDestination}" class="form-control" type="text">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">交通工具：</label>
                            <div class="col-sm-8">
                                <input id="travelVehicle" name="travelVehicle" th:value="${travel.travelVehicle}"
                                       class="form-control" type="text">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">预计费用：</label>
                            <div class="col-sm-8">
                                <input id="travelPrice" name="travelPrice" th:value="${travel.travelPrice}"
                                       class="form-control" type="text">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">部门领导：</label>
                            <div class="col-sm-8">
                                <input id="depetLeaderid" name="depetLeaderid" th:value="${travel.depetLeaderid}"
                                       class="form-control" type="hidden">
                                <input id="depetLeadername" name="depetLeadername" th:value="${travel.depetLeadername}"
                                       class="form-control" type="text" readonly>
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">出差事由：</label>
                            <div class="col-sm-8">
                                <input id="travelCause" name="travelCause" th:value="${travel.travelCause}"
                                       class="form-control" type="text">
                            </div>
                        </div>
                        <div class="form-group">
                            <div class="col-sm-8 col-sm-offset-3">
                                <button type="submit" class="btn btn-primary">提交</button>
                            </div>
                        </div>
                    </form>
                </div>
            </div>
        </div>
    </div>
</div>
<div th:include="include::footer"></div>
<script type="text/javascript" src="/js/appjs/system/travel/edit.js"></script>
<script type="text/javascript" src="/js/plugins/cropper/cropper.min.js"></script>
<script type="text/javascript" src="/js/plugins/layer/laydate/laydate.js" ></script>
<script type="text/javascript" src="/js/plugins/distpicker/distpicker.data.min.js"></script>
<script type="text/javascript" src="/js/plugins/distpicker/distpicker.min.js"></script>
</body>
</html>
